projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adf395
)
(basic-save-buffer-1): Add missing argument for error.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Aug 1997 18:56:42 +0000
(18:56 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Aug 1997 18:56:42 +0000
(18:56 +0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index e8c80354033f02495ac774b5df54e613cb153f4a..a43477a1c8b3d094577051d32e9dcf5ebf9038b7 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-2141,7
+2141,7
@@
After saving the buffer, run `after-save-hook'."
(if (not (file-directory-p dir))
(if (file-exists-p dir)
(error "%s is not a directory" dir)
- (error "%s: no such directory"))
+ (error "%s: no such directory"
buffer-file-name
))
(if (not (file-exists-p buffer-file-name))
(error "Directory %s write-protected" dir)
(if (yes-or-no-p